package com.wjk.kylin.id.core.entity;

/**
 *
 */
public enum ResultCode {

    NORMAL(1, "正常可用"),
    LOADING(2, "需要去加载nextId"),
    OVER(3, "超过maxId不可用"),
    ;
    private int code;
    private String desc;
    private ResultCode(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
